<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>不挂高数验证码</title>
</head>
<style>
    #main {
        height: 500px;
        width: 400px;
        margin: 0 auto;
    }

    .text {
        margin-left: 15px;
    }

    .verifyCode {
        font-size: 18px;
        padding: 10px;
        background-color: #f2f2f2;
        border-left: 1px solid #ccc;
        border-right: 1px solid #ccc;
        border-top: 1px solid #ccc;
        border-bottom: 1px solid #ccc;
    }

    .new-link {
        color: #3b5998;
        text-decoration: none;
    }
</style>
<body>
<div id="main">
    <div>

        <p class="text" style="
            margin-bottom: 10px;
        ">
            <img height="48"
                 src=""/>
        </p>
        <hr/>
    </div>
    <div>
        <p class="text"><span th:text="${name}"></span>，你好：</p>
        <p class="text">你的验证码是：</p>
        <div class="text">
            <p class="verifyCode" th:text="${code}">
                123456
            </p>
        </div>
        <p class="text">
            十分钟内有效！
        </p>
        <p class="text">
            若非本人操作请忽略该邮件
        </p>
        <hr/>
    </div>
    <div>
        <p class="text">
            此邮件发送给：<span class="new-link" th:text="${to}">11111@qq.com</span>
        </p>
        <p class="text">
            <a class="new-link" href="https://www.buguagaoshu.com/" target="_blank">不挂高数</a>
        </p>
    </div>

</div>
</body>
</html>